home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1997 November
/
MACPOWER-1997-11.ISO.7z
/
MACPOWER-1997-11.ISO
/
AMUG
/
MUSIC
/
bol-processor-271-data.sit
/
bol-processor-271-data
/
BP2 examples
/
BP2 data
/
-gr.koto1
< prev
next >
Wrap
Text File
|
1996-06-26
|
619b
|
31 lines
// Bol Processor version BP2.6.1
// Grammar file saved as '-gr.koto1'. Date: Mer 26 Juin 1996 -- 11:40
-se.koto1
-ho.abc1
// -gr.koto1
// A sort of cellular automaton making a sort of Turkish music...
RND
S --> X X X X X X X X
X --> a
X --> b
-------------------
SUB
#? ? --> #? ? [Keep leftmost symbol]
?1 #? --> ?1 #? [Keep rightmost symbol]
<5> a --> a
<30> a b a --> a a
<5> b --> b
<30> b a b --> b b
<100-10> #a b --> #a c b
c c c --> c a c
c a c --> b a b
?1 ?1 ?2 ?3 ?4 ?4 --> ?2 ?3
<10> ?1 ?1 ?1 --> ?1
<10> ?1 ?1 --> ?1
--------------------
ORD
<1-1> ? #? --> d #? [Append "d" at the end of the item]